package com.sgb.businessmodule.view.ui.adapter;

import android.content.Context;

import androidx.databinding.library.baseAdapters.BR;

import com.sgb.businessmodule.R;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

public class BusinessSearchFlowLayoutAdapter extends BaseRecycleAdapter<String> {

    public BusinessSearchFlowLayoutAdapter(Context context, List<String> datas) {
        super(context, R.layout.item_business_search_flow, datas);
    }

    @Override
    public void convert(ItemViewHolder holder, final String entity) {
        holder.setBinding(BR.viewModel, entity);
    }
}
